package com.hcy.manager.dto.request;

import com.hcy.rabbitbasicmodel.signl.Delete;
import com.hcy.rabbitbasicmodel.signl.Query;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/4/27
 **/
@Data
public class CarInfoRequestDTO {

    @NotNull(groups = Delete.class)
    private Integer id;

    private Integer status;
    /**
     * 车牌号
     */
    private String plateNumber;

    /**
     * 运营状态：-1，删除 0，上架 1，下架 2，待整备
     */
    private Integer operationStatus;

    /**
     * 上架时间
     */
    private Date publishTimeStart;
    private Date publishTimeEnd;

    /**
     * 车辆全名
     */
    private String fullName;

    /**
     * 车身颜色
     */
    private String color;

    /**
     * 城市
     */
    private String cityCode;

    @NotNull(groups = {Query.class})
    private Integer pageNO;
    @NotNull(groups = {Query.class})
    private Integer pageSize;
}
